﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BLToolkit.DataAccess;
using BLToolkit.Mapping;

namespace Platform.Model
{
    
    [TableName("Role")]
    
    public class Role:Devsoft.DB.Models.Flat.ModelWithId<Role>
    {
        /// <summary>
        /// Tên chức vụ
        /// </summary>
        public string RoleName { get; set; }
        

        /// <summary>
        /// Employee
        /// </summary>
        [Association(ThisKey="Id", OtherKey="RoleId", CanBeNull=false)]
        public List<Employee> Employee {get;set;}
    }
}
